package com.zwz.dto;

import com.zwz.entity.ConsumptionRestriction;
import com.zwz.entity.EnterpriseInfo;
import com.zwz.entity.RiskInfoMain;
import lombok.Data;

// 响应对象
@Data
public class RestrictionDTO {
    private EnterpriseInfo  mainInfo;
    private ConsumptionRestriction restriction;
    // getters/setters


    public RestrictionDTO(EnterpriseInfo mainInfo, ConsumptionRestriction restriction) {
        this.mainInfo = mainInfo;
        this.restriction = restriction;
    }

    public EnterpriseInfo getMainInfo() {
        return mainInfo;
    }

    public void setMainInfo(EnterpriseInfo mainInfo) {
        this.mainInfo = mainInfo;
    }

    public ConsumptionRestriction getRestriction() {
        return restriction;
    }

    public void setRestriction(ConsumptionRestriction restriction) {
        this.restriction = restriction;
    }
}